.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .container {
    margin: 80/$f+vw 200/$f+vw 160/$f+vw 200/$f+vw;

    .section1 {
      .t {
        color: #000;
        font-size: 32/$f+vw;
        margin: 0 27/$f+vw;
      }

      .people {
        .item {
          display: flex;
          justify-content: space-between;
          gap: 60/$f+vw;
          margin-top: 60/$f+vw;

          .pic {
            width: 12%;
            overflow: hidden;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }
          }

          .info {
            width: 85%;

            .name {
               font-size: 24/$f+vw;
              line-height: 1.4;
              margin-top: 30/$f+vw;
              font-weight: bold;
            }

            .tag {
              margin: 12/$f+vw 0 36/$f+vw 0;
              font-size: 18/$f+vw;
            }

            .des {
              color: #666;
              font-size: 16/$f+vw;
              line-height: 1.625;
            }
          }

          &:hover {
            .pic {
              img {
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }

    .section2 {
      margin: 60/$f+vw 0;
      display: flex;
      justify-content: space-between;

      .item {
        width: 50%;
        padding: 40/$f+vw 30/$f+vw;
        text-align: center;

        .pic {
          img {
            width: 160/$f+vw;
            height: 160/$f+vw;
            border-radius: 50%;
            transition: all 600ms;
          }
        }

        .name {
          margin: 24/$f+vw 0 8/$f+vw 0;
          font-size: 24/$f+vw;
          font-weight: 600;
        }

        .tag {
          color: #333;
          font-size: 16/$f+vw;
          line-height: 2;
          margin-bottom: 28/$f+vw;
        }

        .des {
          color: #666;
          font-size: 16/$f+vw;
          line-height: 1.625;
        }

        &:hover {
          .pic {
            img {
              transform: scale(1.05);
            }
          }
        }
      }
    }

    .section3 {
      margin: 88/$f+vw 0;

      .t {
        font-size: 32/$f+vw;
      }

      .list {
        display: flex;
        margin-top: 40/$f+vw;

        .item {
          width: 25%;
          padding: 40/$f+vw 30/$f+vw;
          text-align: center;

          .pic {
            img {
              width: 160/$f+vw;
              height: 160/$f+vw;
              border-radius: 50%;
              transition: all 600ms;
            }
          }

          .name {
            margin: 24/$f+vw 0 8/$f+vw 0;
            font-size: 24/$f+vw;
            font-weight: 600;
          }

          .tag {
            color: #333;
            font-size: 16/$f+vw;
            line-height: 2;
            margin-bottom: 28/$f+vw;
          }

          .des {
            color: #666;
            font-size: 16/$f+vw;
            line-height: 1.625;
            text-align: justify;
          }

          &:hover {
            .pic {
              img {
                transform: scale(1.05);
              }
            }
          }
        }
      }
      .list_3{
        .item{
          width: 33%;
        }
      }
      .list_2{
        .item{
          width: 50%;
        }
      }
    }

    .section4,.section5,.section6 {
      margin: 88/$f+vw 0;

      .t {
        font-size: 32/$f+vw;
      }

      .list {
        margin-top: 40/$f+vw;
        position: relative;

        .prev {
          position: absolute;
          left: -20/$f+vw;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(0, 0, 0, 0.20);
          border-radius: 50%;
          width: 40/$f+vw;
          height: 40/$f+vw;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          z-index: 10;

          img {
            display: block;
            width: 10/$f+vw;
          }
        }
        .next {
          position: absolute;
          right: -20/$f+vw;
          top: 50%;
          transform: translateY(-50%);
          background: rgba(0, 0, 0, 0.20);
          border-radius: 50%;
          width: 40/$f+vw;
          height: 40/$f+vw;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
          z-index: 10;

          img {
            display: block;
            width: 10/$f+vw;
          }
        }

        .item {
          width: 100%;
          padding: 40/$f+vw 30/$f+vw;
          text-align: center;

          .pic {
            img {
              width: 160/$f+vw;
              height: 160/$f+vw;
              border-radius: 50%;
              transition: all 600ms;
            }
          }

          .name {
            margin: 24/$f+vw 0 8/$f+vw 0;
            font-size: 24/$f+vw;
            font-weight: 600;
          }

          .tag {
            color: #333;
            font-size: 16/$f+vw;
            line-height: 2;
            margin-bottom: 28/$f+vw;
          }

          .des {
            color: #666;
            font-size: 16/$f+vw;
            line-height: 1.625;
            text-align: justify;
          }

          &:hover {
            .pic {
              img {
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px){
    .banner{
      img{
        height: 300px;
      }
    }
    .nav_menu{
      padding: 0;
      flex-wrap: wrap;
      a{
        padding: 15px 10px;
        font-size: 14px;
      }
      span{
        height: 10px;
      }
    }
    .container{
      margin: 30px 5%;
      .section1{
        .t{
          font-size: 24px;
          margin: 0;
        }
        .people{
          .item{
            margin-top: 30px;
            flex-direction: column;
            gap: 0;
            .pic{
              width: 100%;
            }
            .info{
              width: 100%;
              margin-top: 20px;
              .name{
                font-size: 20px;
                margin-top: 0;
              }
              .tag{
                font-size: 16px;
                margin: 5px 0 10px 0;
              }
              .des{
                font-size: 14px;
              }
            }
          }
        }
      }
      .section2{
        margin: 30px 0;
        flex-direction: column;
        .item{
          width: 100%;
          padding: 20px 10px;
          .pic{
              img{
                width: 150px;
                height: 150px;
              }
          }
          .name{
            font-size: 20px;
            margin: 15px 0 5px 0;
          }
          .tag{
            font-size: 16px;
            margin: 5px 0 10px 0;
            line-height: 1.5;
          }
          .des{
            font-size: 14px;
          }
        }
      }
      .section3{
        margin: 30px 0;
        flex-direction: column;
        .t{
          font-size: 24px;
          margin: 0;
        }
        .list{
          flex-direction: column;
          .item{
            width: 100%;
            padding: 20px 10px;
            .pic{
                img{
                  width: 150px;
                  height: 150px;
                }
            }
            .name{
              font-size: 20px;
              margin: 15px 0 5px 0;
            }
            .tag{
              font-size: 16px;
              margin: 5px 0 10px 0;
              line-height: 1.5;
            }
            .des{
              font-size: 14px;
            }
          }
        }
      }
      .section4,.section5,.section6{
        margin: 30px 0;
        flex-direction: column;
        .t{
          font-size: 24px;
          margin: 0;
        }
        .list{
          .prev,.next{
            width: 35px;
            height: 35px;
            img{
              width: 8px;
            }
          }
          .item{
            width: 100%;
            padding: 20px 10px;
            .pic{
                img{
                  width: 150px;
                  height: 150px;
                }
            }
            .name{
              font-size: 20px;
              margin: 15px 0 5px 0;
            }
            .tag{
              font-size: 16px;
              margin: 5px 0 10px 0;
              line-height: 1.5;
            }
            .des{
              font-size: 14px;
            }
          }
        }
      }
    }
  }

}